// 引入fs模块
var fs = require('fs');

function Compiler() {
    this.read = CompileFile;
}


function CompileFile(path, cb) {

    fs.readFile(path, "utf-8", function(err, data) {
        cb(err, data);
    });

}

module.exports = Compiler;